page.tsx 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. import Image from "next/image";
  2. import { SiteConfig } from "@/shared/config/site-config";
  3. import { Typography } from "@/components/ui/typography";
  4. import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
  5. interface VerifyRequestPageParams {
  6. params: Promise<Record<string, string>>;
  7. searchParams: Promise<{ [key: string]: string | string[] | undefined }>;
  8. }
  9. export default async function AuthVerifyRequestPage({ params: _p, searchParams: _s }: VerifyRequestPageParams) {
  10. return (
  11. <div className="h-full">
  12. <header className="flex items-center gap-2 px-4 pt-4">
  13. <Image alt="app icon" height={32} src={SiteConfig.appIcon} width={32} />
  14. <Typography variant="h2">{SiteConfig.title}</Typography>
  15. </header>
  16. <div className="flex h-full items-center justify-center">
  17. <Card className="w-full max-w-md">
  18. <CardHeader>
  19. <CardTitle>Almost There!</CardTitle>
  20. <CardDescription>
  21. {
  22. "To complete the verification, head over to your email inbox. You'll find a magic link from us. Click on it, and you're all set!"
  23. }
  24. </CardDescription>
  25. </CardHeader>
  26. </Card>
  27. </div>
  28. </div>
  29. );
  30. }